<include file="Tpl/Public/admin_top.html">
<form name="form" action="__APP__/admin{url}domphotoset{shtml}" method="post">
	<table width=98% height="auto" cellspacing=0 cellpadding=0 border=1 style="margin:auto;border:1px solid #ccc">
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="40" colspan="2" style="line-height:40px;background:url('{site}/Public/images/topbg.jpg')"><span style="font-size:16px;text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);color:#333;font-weight:bold;">手机拍照设置</span></td>
		</tr>
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="30" width="200" style="line-height:30px;font-size:15px;color:#222;">开启手机拍照上传优化? </td>
			<td height="30"><input type="checkbox"  name="mobile_photo_allow" onchange="if(this.checked){this.value=1;}else{this.value=0;}" <?php if("{mphoto->mobile_photo_allow}"==true) echo "checked"; ?> <?php if("{mphoto->mobile_photo_allow}"==true){ ?> value="1" <?php }else{ ?> value="0" <?php } ?>><span style="color:#ff0000">*当今手机拍摄的照片分辨率、容量越来越大，必须适当优化！</span></td>
		</tr>
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="30" width="200" style="line-height:30px;font-size:15px;color:#222;">上传图片最小长度</td>
			<td height="30"><input type="text" name="mobile_pic_width" style="width:20%" value="{mphoto->mobile_pic_width}"><span style="color:#ff0000"> * 当上传图片尺寸不低于设置值时，优化才会生效！</span></td>
		</tr>
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="30" width="200" style="line-height:30px;font-size:15px;color:#222;">上传图片最小高度</td>
			<td height="30"><input type="text" name="mobile_pic_height" style="width:20%" value="{mphoto->mobile_pic_height}"><span style="color:#ff0000"> * 当上传图片尺寸不低于设置值时，优化才会生效！</span></td>
		</tr>
   	<tr>
   		<input type="hidden" name="token" value="{token}">
		<td height="40" colspan="2" align="left"><input name="submit" type="submit" value="提交" class="button" /></td>
	</tr>
 </table>
</form>
<include file="Tpl/Public/admin_bottom.html">